package com.net.shop.car.manager.api.volley.request;

import org.json.JSONException;
import org.json.JSONObject;

import com.net.shop.car.manager.api.volley.Request;
import com.net.shop.car.manager.utils.Constants;
import com.net.shop.car.manager.utils.LogUtils;

/**
 * 请使用CityResponse作响应
 * @author Deve
 *
 */
public class City extends Request {
	/***/
	private String provinceid;

	public String getProvinceid() {
		return provinceid;
	}

	public City(String provinceid) {
		super(Constants.CITY);
		// TODO Auto-generated constructor stub
		this.provinceid = provinceid;
	}

	@Override
	public void extensionJSON(JSONObject jsonObject) {
		// TODO Auto-generated method stub
		try {
			jsonObject.put("provinceid", provinceid);
		} catch (JSONException e) {
			// TODO Auto-generated catch block
			LogUtils.e(e.getMessage());
		}
	}

}
